package main;

/**
 * A 'term' in a function consists of a [coefficient] and the [exponent for the x variable]
 * [2][3] would mean 2(x^3)
 */
public class FunctionTerm {
	private double[] term;
	
	public FunctionTerm() {
		term = new double[2];
	}
	
	public FunctionTerm(double a, double b) {
		term = new double[2];
		term[0] = a;
		term[1] = b;
	}

	public double[] getTerm() {
		return term;
	}

	public void setTerm(double[] term) {
		this.term = term;
	}
}
